package com.diaohw.module.metadata.obj.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
* 元数据属性值 DTO
*
* @author D-Hw
* @since 2025-04-08
*/
@Data
@Accessors(chain = true)
@Schema(name = "MetaDataDO", description = "元数据属性值 DTO")
public class MetaDataDTO implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 数据ID
     */
    @Schema(description = "数据ID")
    private String dataId;

    /**
     * 本条记录ID
     */
    @Schema(description = "本条记录ID")
    private String rowId;

    /**
     * 层级
     */
    @Schema(description = "层级")
    private Integer level;

    /**
     * 元数据ID
     */
    @Schema(description = "元数据ID")
    private String metaId;

    /**
     * 元数据CODE
     */
    @Schema(description = "元数据CODE")
    private String metaCode;

    /**
     * 属性名称
     */
    @Schema(description = "属性名称")
    private String itemId;

    /**
     * 属性CODE
     */
    @Schema(description = "属性CODE")
    private String itemCode;

    /**
     * 参数值
     */
    @Schema(description = "参数值")
    private String val;

}
